//
//  XNTravelBillInfoModel.h
//  XINNingOA
//
//  Created by samuel on 2021/7/14.
//

#import <Foundation/Foundation.h>
#import "XNUserModel.h"
#import "XNBillApproveModel.h"
#import "XNBudgetInfoModel.h"
#import "XNExpenseModel.h"
#import "XNWorkPlanModel.h"
#import "XNComModel.h"
#import "XNFileModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface XNTravelBillInfoModel : NSObject

@property (nonatomic, copy) NSString *ID;

@property (nonatomic, copy) NSString *createTime;

@property (nonatomic, copy) NSString *createTimeStr;

@property (nonatomic, copy) NSString *createDate;

@property (nonatomic, copy) NSString *createUser;

@property (nonatomic, strong) XNUserModel *createUserObject;

@property (nonatomic, copy) NSString *applicant;

@property (nonatomic, strong) XNUserModel *applicantObject;

@property (nonatomic, copy) NSString *startTime;

@property (nonatomic, copy) NSString *startTimeStr;

@property (nonatomic, copy) NSString *endTime;

@property (nonatomic, copy) NSString *travelRange;

@property (nonatomic, copy) NSString *departmentId;

@property (nonatomic, copy) NSString *departmentCostName;

@property (nonatomic, assign) BOOL isStay;

@property (nonatomic, assign) BOOL isChildCompany;

@property (nonatomic, copy) NSString *startAddress;

@property (nonatomic, copy) NSString *endAddress;

@property (nonatomic, copy) NSString *travelType;

@property (nonatomic, copy) NSString *travelTypeName;

@property (nonatomic, copy) NSString *stayType;

@property (nonatomic, copy) NSString *stayTypeName;

@property (nonatomic, copy) NSString *stayStartTime;

@property (nonatomic, copy) NSString *stayStartTimeStr;

@property (nonatomic, copy) NSString *stayEndTime;

@property (nonatomic, copy) NSString *stayEndTimeStr;

@property (nonatomic, copy) NSString *stayRangeStr;

@property (nonatomic, copy) NSString *stayDays;

@property (nonatomic, assign) BOOL subsidy;

@property (nonatomic, copy) NSString *status;

@property (nonatomic, copy) NSString *statusStr;

@property (nonatomic, copy) NSString *writeOffStatus;

@property (nonatomic, copy) NSString *reimburseStatus;

@property (nonatomic, copy) NSString *reimbursStatusStr;

@property (nonatomic, copy) NSString *financialStatus;

@property (nonatomic, copy) NSString *financialStatusStr;

@property (nonatomic, assign) BOOL isTemp;

@property (nonatomic, copy) NSString *agent;

@property (nonatomic, copy) NSString *agentName;

@property (nonatomic, copy) NSString *agentPhone;

@property (nonatomic, copy) NSString *agentEmail;

@property (nonatomic, copy) NSString *agentContent;

@property (nonatomic, assign) CGFloat comTotalCost;

@property (nonatomic, assign) CGFloat comTotalPayCost;

@property (nonatomic, assign) CGFloat travelExpenseCost;

@property (nonatomic, assign) CGFloat travelExpensePayCost;

@property (nonatomic, assign) CGFloat totalPayCost;

@property (nonatomic, copy) NSString *totalPayCostCN;

@property (nonatomic, assign) CGFloat negateTempCost;

@property (nonatomic, copy) NSString *totalFileCount;

@property (nonatomic, copy) NSArray <XNComModel *>*comList;

@property (nonatomic, copy) NSArray <XNExpenseModel *>*expenseList;

@property (nonatomic, copy) NSArray <XNWorkPlanModel *>*workPlanList;

@property (nonatomic, copy) NSArray <XNBillApproveModel *>*historyList;

@property (nonatomic, assign) CGFloat advance;

@property (nonatomic, copy) NSString *advanceDate;

@property (nonatomic, copy) NSString *advanceDateStr;

@property (nonatomic, copy) NSString *advanceDesc;

@property (nonatomic, strong) XNBudgetInfoModel *budgetItemObject;

@property (nonatomic , copy) NSArray<XNFileModel *>              * fileList;


@end

NS_ASSUME_NONNULL_END
